package com.yinhe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;

/**
 * 投票人信息对象 yh_vote_people
 * 
 * @author yinhe
 * @date 2022-09-06
 */
public class YhVotePeople extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 投票ID */
    @Excel(name = "投票ID")
    private Long voteId;

    /** 投票标题 */
    @Excel(name = "投票标题")
    private String voteTitile;

    /** 投票类型 */
    @Excel(name = "投票类型")
    private String voteType;

    /** 投票选项ID */
    @Excel(name = "投票选项ID")
    private Long voteOptionId;

    /** 投票选项 */
    @Excel(name = "投票选项")
    private String voteOption;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 投票时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投票时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date peopleTime;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 备注1 */
    @Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    @Excel(name = "备注5")
    private String note5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVoteId(Long voteId) 
    {
        this.voteId = voteId;
    }

    public Long getVoteId() 
    {
        return voteId;
    }
    public void setVoteTitile(String voteTitile) 
    {
        this.voteTitile = voteTitile;
    }

    public String getVoteTitile() 
    {
        return voteTitile;
    }
    public void setVoteType(String voteType) 
    {
        this.voteType = voteType;
    }

    public String getVoteType() 
    {
        return voteType;
    }
    public void setVoteOptionId(Long voteOptionId) 
    {
        this.voteOptionId = voteOptionId;
    }

    public Long getVoteOptionId() 
    {
        return voteOptionId;
    }
    public void setVoteOption(String voteOption) 
    {
        this.voteOption = voteOption;
    }

    public String getVoteOption() 
    {
        return voteOption;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setPeopleTime(Date peopleTime) 
    {
        this.peopleTime = peopleTime;
    }

    public Date getPeopleTime() 
    {
        return peopleTime;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("voteId", getVoteId())
            .append("voteTitile", getVoteTitile())
            .append("voteType", getVoteType())
            .append("voteOptionId", getVoteOptionId())
            .append("voteOption", getVoteOption())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("nickName", getNickName())
            .append("peopleTime", getPeopleTime())
            .append("note", getNote())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .toString();
    }
}
